package org.example.service;

import org.example.entity.Address;

import java.util.List;

public interface AddressService {
    boolean addAddress(Address address);

    boolean deleteAddress(Integer addressId);

    boolean updateAddress(Address address);

    List<Address> list(String openId);

    Address getDefaultAddress(String openId);
}
